<?php

Route::get('dashboard', 'DashboardController@index')->name('admin.dashboard');
Route::get('votes', 'DashboardController@vote_edit')->name('backend.raw-subjects');
Route::get('exported-votes', 'DashboardController@viewExportedVoteSubjects')->name('backend.exported-votes');
Route::post('export-votes', 'DashboardController@exportVoteSubject');
Route::post('delete-votes', 'DashboardController@moveVoteSubjectToRecycleBin');
Route::post('update-subject', 'DashboardController@updateSubject');
Route::post('reset-votes', 'DashboardController@resetVoteSubject');
Route::post('move-votes-to-backlog', 'DashboardController@moveSubjectToBacklog');